package org.springframework.aop;

/**
 * <p>@description: 切点(提供一个类过滤器和一个方法过滤器)</p>
 *
 * @author yangshuang
 * @version 1.0
 * @date 2019/2/19 22:47
 */
public interface Pointcut {


    /**
     *  返回一个类型过滤器
     */
    ClassFilter getClassFilter();

    /**
     * Return the MethodMatcher for this pointcut.
     * @return the MethodMatcher (never {@code null})
     */
    MethodMatcher getMethodMatcher();


    /**
     * Canonical Pointcut instance that always matches.
     */
    Pointcut TRUE = TruePointcut.INSTANCE;
}
